package com.xssn.fjnd.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 成员信息表
 * </p>
 *
 * @author 线狮少年
 * @since 2023-08-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("xssn_member")
@ApiModel(value="Member对象", description="成员信息表")
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "成员头像")
    private String avatar;

    @ApiModelProperty(value = "成员昵称")
    private String nickName;

    @ApiModelProperty(value = "成员出生日期")
    private Date birthDay;

    @ApiModelProperty(value = "0: 队长, 1：副队长，2：核心成员，3：正式成员，4：见习成员")
    private Integer status;

    @ApiModelProperty(value = "成员职责")
    private String duty;

    @ApiModelProperty(value = "成员简介")
    private String description;

    @ApiModelProperty(value = "0：离职，1：任职")
    private Integer isjob;

    @ApiModelProperty(value = "年龄计算")
    @TableField(exist = false)
    private Integer age;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;




}
